/* webpack.config_prod.js */
// var path = require('path');
// var webpack = require('webpack');
var webpackMerge = require('webpack-merge');
var webpackConfig = require('./webpack.config.js');
var CleanWebpack = require('clean-webpack-plugin').CleanWebpackPlugin;
// var OptimizeCssAssetsPlugin = require("optimize-css-assets-webpack-plugin");
 
module.exports = webpackMerge(webpackConfig, {
    mode: 'production',     // 定义当前为生产环境
    plugins: [
        new CleanWebpack(),
    ],
});
